Checking whether the number are equal or not